import 'package:equatable/equatable.dart';
import 'package:website.home.account/purchase_management_fragment/domain/entites/one_time_purchased_item_model.dart';
import 'package:website.home.account/purchase_management_fragment/domain/entites/web_purchased_item_model.dart';

class WebOneTimePurchasedItemModel extends Equatable
    implements OneTimePurchasedItemModel, WebPurchasedItemModel {
  const WebOneTimePurchasedItemModel({
    required this.purchaseItemSku,
    required this.transactionId,
    required this.revoked,
    required this.pretifiedPrice,
    required this.currency,
  });

  @override
  final String purchaseItemSku;

  final String transactionId;
  final bool revoked;
  final String pretifiedPrice;
  final String currency;

  @override
  List<Object?> get props {
    return [
      purchaseItemSku,
      transactionId,
      revoked,
      pretifiedPrice,
      currency,
    ];
  }
}
